export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user/login',
        component: './Login',
      },
    ],
  },
  {
    path: '/',
    component: '@/layouts/BasicLayout',
    routes: [
      {
        path: '/',
        redirect: '/dashboard',
      },
      {
        path: '/dashboard',
        name: '数据概览',
        icon: 'dashboard',
        component: './Dashboard',
      },
      {
        path: '/traffic',
        name: '流量数据',
        icon: 'line-chart',
        component: './Traffic',
      },
      {
        path: '/feedback',
        name: '销售反馈',
        icon: 'message',
        component: './Feedback',
      },
    ],
  },
]; 